package edu.sctu.practice.class01.chengongsuo;
//
/**
 * Created by user0 on 2015/10/8.
 */

public class EliteStudent {

    //����
    public int no;
    private String name;
    boolean gender; //sex
    protected String phone;

    // alt + insert



    // public, private, protected ���η�


    // ����
    public EliteStudent(String name, boolean gender) {
        this.name = name;
        this.gender = gender;
    }

    public EliteStudent() {
    }

    public EliteStudent(String name) {
        this.name = name;
    }

    void run(int age){

        System.out.println("This is run action.");

        haveLanch();
    }



    private void haveLanch(){
        System.out.println(name);

        System.out.println("have launch action.");
    }

    // ��������, �����������

    // EliteStudent -> Object

    // ��

}
